package com.dianning.web.action.jianzhi;

import java.util.List;
import org.apache.commons.logging.*;

import com.dianning.service.ParameterService;
import com.dianning.web.action.BaseAction;

public class Index extends BaseAction{

	private static final Log logger = LogFactory.getLog(Index.class);
	
	private ParameterService parameterService;
	
	public ParameterService getParameterService() {
		return parameterService;
	}

	public void setParameterService(ParameterService parameterService) {
		this.parameterService = parameterService;
	}
	
	private List jianzhiBianji;
	private List jianzhiCaiwu;
	private List jianzhiCanyin;
	private List jianzhiJiagong;
	private List jianzhiJiaoyu;
	private List jianzhiKefu;
	private List jianzhiPc;
	private List jianzhiQita;
	private List jianzhiSheji;
	private List jianzhiXiaoshou;
	private List jianzhiXuesheng;
	private List jianzhiYanyi;
	
	public List getJianzhiBianji() {
		return jianzhiBianji;
	}

	public void setJianzhiBianji(List jianzhiBianji) {
		this.jianzhiBianji = jianzhiBianji;
	}

	public List getJianzhiCaiwu() {
		return jianzhiCaiwu;
	}

	public void setJianzhiCaiwu(List jianzhiCaiwu) {
		this.jianzhiCaiwu = jianzhiCaiwu;
	}

	public List getJianzhiCanyin() {
		return jianzhiCanyin;
	}

	public void setJianzhiCanyin(List jianzhiCanyin) {
		this.jianzhiCanyin = jianzhiCanyin;
	}

	public List getJianzhiJiagong() {
		return jianzhiJiagong;
	}

	public void setJianzhiJiagong(List jianzhiJiagong) {
		this.jianzhiJiagong = jianzhiJiagong;
	}

	public List getJianzhiJiaoyu() {
		return jianzhiJiaoyu;
	}

	public void setJianzhiJiaoyu(List jianzhiJiaoyu) {
		this.jianzhiJiaoyu = jianzhiJiaoyu;
	}

	public List getJianzhiKefu() {
		return jianzhiKefu;
	}

	public void setJianzhiKefu(List jianzhiKefu) {
		this.jianzhiKefu = jianzhiKefu;
	}

	public List getJianzhiPc() {
		return jianzhiPc;
	}

	public void setJianzhiPc(List jianzhiPc) {
		this.jianzhiPc = jianzhiPc;
	}

	public List getJianzhiQita() {
		return jianzhiQita;
	}

	public void setJianzhiQita(List jianzhiQita) {
		this.jianzhiQita = jianzhiQita;
	}

	public List getJianzhiSheji() {
		return jianzhiSheji;
	}

	public void setJianzhiSheji(List jianzhiSheji) {
		this.jianzhiSheji = jianzhiSheji;
	}

	public List getJianzhiXiaoshou() {
		return jianzhiXiaoshou;
	}

	public void setJianzhiXiaoshou(List jianzhiXiaoshou) {
		this.jianzhiXiaoshou = jianzhiXiaoshou;
	}

	public List getJianzhiXuesheng() {
		return jianzhiXuesheng;
	}

	public void setJianzhiXuesheng(List jianzhiXuesheng) {
		this.jianzhiXuesheng = jianzhiXuesheng;
	}

	public List getJianzhiYanyi() {
		return jianzhiYanyi;
	}

	public void setJianzhiYanyi(List jianzhiYanyi) {
		this.jianzhiYanyi = jianzhiYanyi;
	}

	public String execute() {
		this.setJianzhiBianji(this.getParameterService().findParameters("jianzhiBianjiType", 2, null,"orders", 0));
		this.setJianzhiCaiwu(this.getParameterService().findParameters("jianzhiCaiwuType", 2, null,"orders", 0));
		this.setJianzhiCanyin(this.getParameterService().findParameters("jianzhiCanyinType", 2, null,"orders", 0));
		this.setJianzhiJiagong(this.getParameterService().findParameters("jianzhiJiagongType", 2, null,"orders", 0));
		this.setJianzhiJiaoyu(this.getParameterService().findParameters("jianzhiJiaoyuType", 2, null,"orders", 0));
		this.setJianzhiKefu(this.getParameterService().findParameters("jianzhiKefuType", 2, null,"orders", 0));
		this.setJianzhiPc(this.getParameterService().findParameters("jianzhiPcType", 2, null,"orders", 0));
		this.setJianzhiQita(this.getParameterService().findParameters("jianzhiQitaType", 2, null,"orders", 0));
		this.setJianzhiSheji(this.getParameterService().findParameters("jianzhiShejiType", 2, null,"orders", 0));
		this.setJianzhiXiaoshou(this.getParameterService().findParameters("jianzhiXiaoshouType", 2, null,"orders", 0));
		this.setJianzhiXuesheng(this.getParameterService().findParameters("jianzhiXueshengType", 2, null,"orders", 0));
		this.setJianzhiYanyi(this.getParameterService().findParameters("jianzhiYanyiType", 2, null,"orders", 0));
		return SUCCESS;
	}
}
